/*
 * @Author       : Hejh(3010733382@qq.com)
 * @Version      : V1.0
 * @Date         : 2024-01-30 11:01:46
 * @Description  : 系统配置相关接口
 */

import request from '@/utils/request'

// 列表查询系统配置
export const getSystemOptionList = () => {
  return request.get('/systemOption/list')
}

// 未登录用户查询系统配置
export const getUnLoginSystemOptionList = () => {
  return request.get('/systemOption/unLogin/list')
}

// 修改系统配置
export const updateSystemOption = (data: Object) => {
  return request.put('/systemOption/update', data)
}
